<!DOCTYPE html>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>

<script src="<c:url value="/recursos/js/contato.js"/>"></script>


<div class="navbar-wrapper">
	<div class="container">
 		<nav class="navbar navbar-inverse navbar-fixed-top">
			<div class="container"> 
	            <div class="navbar-header">
	              <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
	                <span class="sr-only">Log10</span>
	                <span class="icon-bar"></span>
	                <span class="icon-bar"></span>
	                <span class="icon-bar"></span>
	              </button>
	              <a class="navbar-brand" href="javascript:void(0);" onclick="ajaxURL('/smmb-web/home')">Log10</a>
	            </div>

				<div id="navbar" class="navbar-collapse collapse">
					<ul class="nav navbar-nav pull-right" style="height: 80px;">
						<li><a href="javascript:void(0);" onclick="ajaxURL('/smmb-web/home')" style="padding-top: 20px;">Home</a></li>
						<li> <a href="javascript:void(0);" onclick="ajaxURL('/smmb-web/quemSomos')" style="padding-top: 20px;">Quem Somos</a></li>

						<li class="dropdown"> 
							<a class="btn-link" data-toggle="dropdown" href="#" style="padding-top: 20px;"> 
								<span class="glyphicon glyphicon-cog"></span>&nbsp;Serviços <span class="caret"></span> 
							</a>
							<ul class="dropdown-menu" role="menu">
								<li> <a href="javascript:void(0);" onclick="ajaxURL('/smmb-web/medicamentos')"> <span class="glyphicon glyphicon-heart"></span>&nbsp;Medicamentos</a> </li>
								<li class="divider"></li>
								<li> <a href="javascript:void(0);" onclick="ajaxURL('/smmb-web/aereo')"> <span class="glyphicon glyphicon-plane"></span>&nbsp;Aéreo</a> </li>
								<li class="divider"></li>
								<li> <a href="javascript:void(0);" onclick="ajaxURL('/smmb-web/medicamentos')"> <span class="fa fa-motorcycle fa-5"></span>&nbsp;Motoboy</a> </li>
								<li class="divider"></li>
								<li> <a href="javascript:void(0);" onclick="ajaxURL('/smmb-web/aereo')"> <span class="fa fa-truck fa-5"></span>&nbsp;Rodoviário</a> </li>
							</ul>
						</li>

						<li><a href="javascript:void(0);" onclick="ajaxURL('/smmb-web/contato')" style="padding-top: 20px;">Contato</a></li>
						<sec:authorize access="isAnonymous()">
							<li>
								<div class="btn-group" role="group" aria-label="Default button group" style="padding-top: 15px;">
							      <button type="button" class="btn btn-default" onclick="ajaxURL('/smmb-web/entrar')">Entrar</button>
							    </div>
							</li>
							<li>
								<div class="btn-group" role="group" aria-label="Default button group" style="padding-top: 15px;">
							      <button type="button" class="btn btn-success" onclick="ajaxURL('/smmb-web/registro')" style="left: 10px;">Criar Conta</button>
							    </div>
							</li>
						</sec:authorize>
						<sec:authorize access="isAuthenticated()">
							<li class="dropdown"> 
								<a class="btn-link" data-toggle="dropdown" href="#" style="padding-top: 20px;"> 
									<span class="glyphicon glyphicon-inbox"></span>&nbsp;Minha Conta <span class="caret"></span> 
								</a>
								<ul class="dropdown-menu" role="menu">
									<li> <a href="/smmb-web/smmb"> <span class="glyphicon glyphicon-list-alt"></span>&nbsp;Meus Pedidos</a> </li>
									<li class="divider"></li>
									<li> <a href="javascript:void(0);"> <span class="glyphicon glyphicon-ban-circle"></span>&nbsp;Meus Dados Cadastrais</a> </li>
									<li class="divider"></li>
									<li> <a href="javascript:void(0);"> <span class="glyphicon glyphicon-arrow-left"></span>&nbsp;Outros serviços</a> </li>
								</ul>
							</li>
							<li class="dropdown"> <a class="btn-link" data-toggle="dropdown" href="#" style="padding-top: 20px;">
								<span class="glyphicon glyphicon-user nav-icon-notification"></span> <sec:authentication property="principal"/> <span class="caret"></span> </a>
								<ul class="dropdown-menu" role="menu">
									<li> <a href="<c:url value="/j_spring_security_logout"/>"> <span class="glyphicon glyphicon-log-out"></span> Logout</a> </li>
								</ul>
							</li>
						</sec:authorize>
					</ul>
				</div>
			</div>
		</nav>
	</div>
</div>